package com.knowif.dao;

import com.knowif.pojo.UserHelpful;
import com.knowif.pojo.UserHelpfulExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserHelpfulMapper {
    int countByExample(UserHelpfulExample example);

    int deleteByExample(UserHelpfulExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(UserHelpful record);

    int insertSelective(UserHelpful record);

    List<UserHelpful> selectByExample(UserHelpfulExample example);

    UserHelpful selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") UserHelpful record, @Param("example") UserHelpfulExample example);

    int updateByExample(@Param("record") UserHelpful record, @Param("example") UserHelpfulExample example);

    int updateByPrimaryKeySelective(UserHelpful record);

    int updateByPrimaryKey(UserHelpful record);
}